﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Company.Sqlite.Models
{
    [Table(nameof(Car))]
    public class Car : EntityBase
    {
        private string name;
        public string Name { get => name; set=> SetProperty(ref name, value); }

        private string contact;
        public string Contact { get => contact;set=> SetProperty(ref contact, value); }

        private string telephone;
        public string Telephone { get => telephone;set=>SetProperty(ref telephone, value); }

        private double pweight;
        /// <summary>
        /// 皮重（车辆自重）
        /// </summary>
        public double Pweight { get => pweight; set => SetProperty(ref pweight, value); }

        private int rank;
        public int Rank { get => rank;set=>SetProperty(ref rank, value); }
    }
}
